<!doctype html>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/modules/cms/front/include/taglib.jsp"%>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>山东省林业厅</title>
    <meta name="description" content="">
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="icon" type="image/png" href="${ctxStatic}/sdlyfp/i/favicon.png">
    <link rel="apple-touch-icon-precomposed" href="${ctxStatic}/sdlyfp/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI" />
    <link rel="stylesheet" href="${ctxStatic}/sdlyfp/css/amazeui.min.css" />
    <link rel="stylesheet" href="${ctxStatic}/sdlyfp/css/admin.css">
    <link rel="stylesheet" href="${ctxStatic}/sdlyfp/css/app.css">
    <script src="${ctxStatic}/sdlyfp/js/echarts.min.js"></script>
</head>

<body data-type="index">
    
<!-- head -->
<jsp:include page="../basic/head.jsp" flush="false"></jsp:include>

<div class="tpl-page-container tpl-page-header-fixed">
   
<!-- 菜单 -->
<jsp:include page="../basic/menu.jsp" flush="false"></jsp:include>

<div class="tpl-content-wrapper">
           
  <div class="row">
      <div class="am-u-md-6 am-u-sm-12 row-mb" style="display:none">
          <div class="tpl-portlet">
              <div class="tpl-portlet-title">
                  <div class="tpl-caption font-green ">
                      <i class="am-icon-cloud-download"></i>
                      <span> 总体进度数据统计</span>
                  </div>
              </div>

              <!--此部分数据请在 js文件夹下中的 app.js 中的 “百度图表A” 处修改数据 插件使用的是 百度echarts-->
                <div class="tpl-echarts" id="tpl-echarts-A">

                </div>
            </div>
        </div>

        
<div  class="am-u-md-12 am-u-sm-12 row-mb"  >
<div class="tpl-portlet">
	<div class="tpl-portlet-title">
	       <div class="tpl-caption font-red ">
	            <i class="am-icon-bar-chart"></i>
	           <span>各${fns:getUser().area.type eq 2?'地市':fns:getUser().area.type eq 3?'区县':fns:getUser().area.type eq 4?'乡镇':'村'}扶贫项目进度统计</span>
	       </div>
	</div>
	<style>.hdm{ margin-bottom:5px}</style>
	<div  class="hdm am-btn am-btn-primary am-btn-block" >经济林扶贫面积</div>
	<div class="content" style="display:none;">
	<table class="am-table am-table-bordered am-table-striped" >
		<thead >
			<tr><th style="width:70px; text-align:center; vertical-align:middle" rowspan="2">
				${fns:getUser().area.type eq 2?'地市':fns:getUser().area.type eq 3?'区县':fns:getUser().area.type eq 4?'乡镇':'村'}
			</th>
			<th colspan="3" style="text-align:center">经济林面积</th></tr>
			<tr><th style="text-align:center">实际完成（亩）</th><th style="text-align:center">完成率（%）</th>
			<th style="text-align:center">
				全${fns:getUser().area.type eq 2?'省':fns:getUser().area.type eq 3?'市':fns:getUser().area.type eq 4?'县（区）':'乡（镇）'}排名
			</th></tr>
		</thead>
		<tbody>
			<!-- <tr><td>德州</td><td>200</td><td>200%</td><td>2</td></tr>  -->
			<c:forEach items="${fpRegionAllRateList }" var="fpRate">
				<tr><td>${fn:replace(fpRate.name, '市', '')}</td>
				<td><fmt:parseNumber integerOnly="true" value="${fpRate.realArea }"/></td>
				<td><fmt:formatNumber type="number" value="${fpRate.forestRate}" pattern="0.0" maxFractionDigits="1"/>%</td>
				<td>${fpRate.forestRateRank}</td></tr>
			</c:forEach>
		</tbody>
	</table>
	</div>
	<div  class="hdm am-btn am-btn-primary am-btn-block">经济林扶贫人数</div>
	<div class="content" style="display:none;">
	<table class="am-table am-table-bordered am-table-striped" >
		<thead >
			<tr><th style="width:70px; text-align:center; vertical-align:middle" rowspan="2">
				${fns:getUser().area.type eq 2?'地市':fns:getUser().area.type eq 3?'区县':fns:getUser().area.type eq 4?'乡镇':'村'}
			</th>
			<th colspan="3" style="text-align:center">经济林扶贫人数</th></tr>
			<tr><th style="text-align:center">实际完成（人）</th><th style="text-align:center">完成率（%）</th>
			<th style="text-align:center">
				全${fns:getUser().area.type eq 2?'省':fns:getUser().area.type eq 3?'市':fns:getUser().area.type eq 4?'县（区）':'乡（镇）'}排名
			</th></tr>
		</thead>
		<tbody>
			<!-- <tr><td>德州</td><td>200</td><td>200%</td><td>2</td></tr>  -->
			<c:forEach items="${fpRegionAllRateList }" var="fpRate">
				<tr><td>${fn:replace(fpRate.name, '市', '')}</td><td>${fpRate.realForestPeople }</td>
				<td><fmt:formatNumber type="number" value="${fpRate.forestPeopleRate}" pattern="0.0" maxFractionDigits="1"/>%</td>
				<td>${fpRate.forestPeopleRateRank}</td></tr>
			</c:forEach>
		</tbody>
	</table>
	</div>
	
	<div  class="hdm am-btn am-btn-primary am-btn-block">护林员岗位扶贫</div>
	<div class="content" style="display:none;">
		<table class="am-table am-table-bordered am-table-striped" >
		<thead >
			<tr><th style="width:70px; text-align:center; vertical-align:middle" rowspan="2">
				${fns:getUser().area.type eq 2?'地市':fns:getUser().area.type eq 3?'区县':fns:getUser().area.type eq 4?'乡镇':'村'}
			</th>
			<th colspan="3" style="text-align:center">护林员岗位扶贫</th></tr>
			<tr><th style="text-align:center">实际完成（人）</th><th style="text-align:center">完成率（%）</th>
			<th style="text-align:center">
				全${fns:getUser().area.type eq 2?'省':fns:getUser().area.type eq 3?'市':fns:getUser().area.type eq 4?'县（区）':'乡（镇）'}排名
			</th></tr>
		</thead>
		<tbody>
			<!-- <tr><td>德州</td><td>200</td><td>200%</td><td>2</td></tr>  -->
			<c:forEach items="${fpRegionAllRateList }" var="fpRate">
				<tr><td>${fn:replace(fpRate.name, '市', '')}</td>
				
				<c:if test="${fpRate.code eq 'sd.dy' || fpRate.code eq 'sd.dz' || fpRate.code eq 'sd.hz'}">
					
					<td style="text-align: center;">----</td>
					<td style="text-align: center;">----</td>
					<td style="text-align: center;">----</td>
				</c:if>
				<c:if test="${fpRate.code ne 'sd.dy' && fpRate.code ne 'sd.dz' && fpRate.code ne 'sd.hz'}">
					<td>${fpRate.realPostPeople }</td>
					<td><fmt:formatNumber type="number" value="${fpRate.postRate}" pattern="0.0" maxFractionDigits="1"/>%</td>
					<td>${fpRate.postRateRank}</td>
				</c:if>
				
				</tr>
				
			</c:forEach>
		</tbody>
		</table>
	</div>
	
	<%-- <div  class="hdm am-btn am-btn-primary am-btn-block">企业（合作社）扶贫</div>
	<div class="content" style="display:none;">
		<table class="am-table am-table-bordered am-table-striped" >
		<thead >
			<tr><th style="width:70px; text-align:center; vertical-align:middle" rowspan="2">
				${fns:getUser().area.type eq 2?'地市':fns:getUser().area.type eq 3?'区县':fns:getUser().area.type eq 4?'乡镇':'村'}
			</th>
			<th colspan="3" style="text-align:center">企业（合作社）扶贫</th></tr>
			<tr><th style="text-align:center">实际完成（个）</th><th style="text-align:center">完成率（%）</th>
			<th style="text-align:center">
				全${fns:getUser().area.type eq 2?'省':fns:getUser().area.type eq 3?'市':fns:getUser().area.type eq 4?'县（区）':'乡（镇）'}排名
			</th></tr>
		</thead>
		<tbody>
			<!-- <tr><td>德州</td><td>200</td><td>200%</td><td>2</td></tr>  -->
			<c:forEach items="${fpRegionAllRateList }" var="fpRate">
				<tr><td>${fn:replace(fpRate.name, '市', '')}</td><td>${fpRate.realCompany }</td>
				<td><fmt:formatNumber type="number" value="${fpRate.companyRate}" pattern="0.0" maxFractionDigits="1"/>%</td>
				<td>${fpRate.companyRateRank}</td></tr>
			</c:forEach>
		</tbody>
		</table>
	</div> --%>
	
	<div  class="hdm am-btn am-btn-primary am-btn-block">林业龙头企业扶贫</div>
	<div class="content" style="display:none;">
		<table class="am-table am-table-bordered am-table-striped" >
		<thead >
			<tr><th style="width:70px; text-align:center; vertical-align:middle" rowspan="2">
				${fns:getUser().area.type eq 2?'地市':fns:getUser().area.type eq 3?'区县':fns:getUser().area.type eq 4?'乡镇':'村'}
			</th>
			<th colspan="3" style="text-align:center">林业龙头企业扶贫</th></tr>
			<tr><th style="text-align:center">实际完成（个）</th><th style="text-align:center">完成率（%）</th>
			<th style="text-align:center">
				全${fns:getUser().area.type eq 2?'省':fns:getUser().area.type eq 3?'市':fns:getUser().area.type eq 4?'县（区）':'乡（镇）'}排名
			</th></tr>
		</thead>
		<tbody>
			<!-- <tr><td>德州</td><td>200</td><td>200%</td><td>2</td></tr>  -->
			<c:forEach items="${fpRegionAllRateList }" var="fpRate">
				<tr><td>${fn:replace(fpRate.name, '市', '')}</td><td>${fpRate.realCompanyOnly }</td>
				<td><fmt:formatNumber type="number" value="${fpRate.companyRateOnly}" pattern="0.0" maxFractionDigits="1"/>%</td>
				<td>${fpRate.companyRateOnlyRank}</td></tr>
			</c:forEach>
		</tbody>
		</table>
	</div>
	<div  class="hdm am-btn am-btn-primary am-btn-block">林业合作社扶贫</div>
	<div class="content" style="display:none;">
		<table class="am-table am-table-bordered am-table-striped" >
		<thead >
			<tr><th style="width:70px; text-align:center; vertical-align:middle" rowspan="2">
				${fns:getUser().area.type eq 2?'地市':fns:getUser().area.type eq 3?'区县':fns:getUser().area.type eq 4?'乡镇':'村'}
			</th>
			<th colspan="3" style="text-align:center">林业龙头企业扶贫</th></tr>
			<tr><th style="text-align:center">实际完成（个）</th><th style="text-align:center">完成率（%）</th>
			<th style="text-align:center">
				全${fns:getUser().area.type eq 2?'省':fns:getUser().area.type eq 3?'市':fns:getUser().area.type eq 4?'县（区）':'乡（镇）'}排名
			</th></tr>
		</thead>
		<tbody>
			<!-- <tr><td>德州</td><td>200</td><td>200%</td><td>2</td></tr>  -->
			<c:forEach items="${fpRegionAllRateList }" var="fpRate">
				<tr><td>${fn:replace(fpRate.name, '市', '')}</td><td>${fpRate.realCoopOnly }</td>
				<td><fmt:formatNumber type="number" value="${fpRate.coopRateOnly}" pattern="0.0" maxFractionDigits="1"/>%</td>
				<td>${fpRate.coopRateOnlyRank}</td></tr>
			</c:forEach>
		</tbody>
		</table>
	</div>
	
	
	
	<div  class="hdm am-btn am-btn-primary am-btn-block">
		科技下乡${fns:getUser().area.type eq 2?'次数':fns:getUser().area.type eq 3?'覆盖村数':fns:getUser().area.type eq 4?'覆盖村数':'覆盖村数'}
	</div>
	<div class="content" style="display:none;">
		<table class="am-table am-table-bordered am-table-striped" >
		<thead >
			<tr><th style="width:70px; text-align:center; vertical-align:middle" rowspan="2">
				${fns:getUser().area.type eq 2?'地市':fns:getUser().area.type eq 3?'区县':fns:getUser().area.type eq 4?'乡镇':'村'}
			</th>
			<th colspan="3" style="text-align:center">科技下乡次数</th></tr>
			<tr><th style="text-align:center">实际完成（${fns:getUser().area.type eq 2?'次':fns:getUser().area.type eq 3?'个':fns:getUser().area.type eq 4?'个':'个'}）</th>
			<th style="text-align:center">完成率（%）</th>
			<th style="text-align:center">
				全${fns:getUser().area.type eq 2?'省':fns:getUser().area.type eq 3?'市':fns:getUser().area.type eq 4?'县（区）':'乡（镇）'}排名
			</th></tr>
		</thead>
		<tbody>
			<!-- <tr><td>德州</td><td>200</td><td>200%</td><td>2</td></tr>  -->
			<c:forEach items="${fpRegionAllRateList }" var="fpRate">
				<tr><td>${fn:replace(fpRate.name, '市', '')}</td><td>${fpRate.real}</td>
				<td><fmt:formatNumber type="number" value="${fpRate.countryRate}" pattern="0.0" maxFractionDigits="1"/>%</td>
				<td>${fpRate.countryRateRank}</td></tr>
			</c:forEach>
		</tbody>
		</table>
	</div>
	
	<div  class="hdm am-btn am-btn-primary am-btn-block">县技术专家人数</div>
	<div class="content" style="display:none;">
		<table class="am-table am-table-bordered am-table-striped" >
		<thead >
			<tr><th style="width:70px; text-align:center; vertical-align:middle" rowspan="2">
				${fns:getUser().area.type eq 2?'地市':fns:getUser().area.type eq 3?'区县':fns:getUser().area.type eq 4?'乡镇':'村'}
			</th>
			<th colspan="3" style="text-align:center">县技术专家人数</th></tr>
			<tr><th style="text-align:center">实际完成（人）</th><th style="text-align:center">完成率（%）</th>
			<th style="text-align:center">
				全${fns:getUser().area.type eq 2?'省':fns:getUser().area.type eq 3?'市':fns:getUser().area.type eq 4?'县（区）':'乡（镇）'}排名
			</th></tr>
		</thead>
		<tbody>
			<!-- <tr><td>德州</td><td>200</td><td>200%</td><td>2</td></tr>  -->
			<c:forEach items="${fpRegionAllRateList }" var="fpRate">
				<tr><td>${fn:replace(fpRate.name, '市', '')}</td><td>${fpRate.realClear }</td>
				<td><fmt:formatNumber type="number" value="${fpRate.clearRate}" pattern="0.0" maxFractionDigits="1"/>%</td>
				<td>${fpRate.clearRateRank}</td></tr>
			</c:forEach>
		</tbody>
		</table>
	</div>

	<div  class="hdm am-btn am-btn-primary am-btn-block">乡镇技术员人数</div>
	<div class="content" style="display:none;">
		<table class="am-table am-table-bordered am-table-striped" >
		<thead >
			<tr><th style="width:70px; text-align:center; vertical-align:middle" rowspan="2">
				${fns:getUser().area.type eq 2?'地市':fns:getUser().area.type eq 3?'区县':fns:getUser().area.type eq 4?'乡镇':'村'}
			</th>
			<th colspan="3" style="text-align:center">县技术专家人数</th></tr>
			<tr><th style="text-align:center">实际完成（人）</th><th style="text-align:center">完成率（%）</th>
			<th style="text-align:center">
				全${fns:getUser().area.type eq 2?'省':fns:getUser().area.type eq 3?'市':fns:getUser().area.type eq 4?'县（区）':'乡（镇）'}排名
			</th></tr>
		</thead>
		<tbody>
			<!-- <tr><td>德州</td><td>200</td><td>200%</td><td>2</td></tr>  -->
			<c:forEach items="${fpRegionAllRateList }" var="fpRate">
				<tr><td>${fn:replace(fpRate.name, '市', '')}</td><td>${fpRate.realTownClear }</td>
				<td><fmt:formatNumber type="number" value="${fpRate.clearTownRate}" pattern="0.0" maxFractionDigits="1"/>%</td>
				<td>${fpRate.clearTownRateRank}</td></tr>
			</c:forEach>
		</tbody>
		</table>
	</div>
	
	<div  class="hdm am-btn am-btn-primary am-btn-block">村技术明白人数 </div>
	<div class="content" style="display:none;">
		<table class="am-table am-table-bordered am-table-striped" >
		<thead >
			<tr><th style="width:70px; text-align:center; vertical-align:middle" rowspan="2">
				${fns:getUser().area.type eq 2?'地市':fns:getUser().area.type eq 3?'区县':fns:getUser().area.type eq 4?'乡镇':'村'}
			</th>
			<th colspan="3" style="text-align:center">县技术专家人数</th></tr>
			<tr><th style="text-align:center">实际完成（人）</th><th style="text-align:center">完成率（%）</th>
			<th style="text-align:center">
				全${fns:getUser().area.type eq 2?'省':fns:getUser().area.type eq 3?'市':fns:getUser().area.type eq 4?'县（区）':'乡（镇）'}排名
			</th></tr>
		</thead>
		<tbody>
			<!-- <tr><td>德州</td><td>200</td><td>200%</td><td>2</td></tr>  -->
			<c:forEach items="${fpRegionAllRateList }" var="fpRate">
				<tr><td>${fn:replace(fpRate.name, '市', '')}</td><td>${fpRate.realCountryClear }</td>
				<td><fmt:formatNumber type="number" value="${fpRate.clearCountryRate}" pattern="0.0" maxFractionDigits="1"/>%</td>
				<td>${fpRate.clearCountryRateRank}</td></tr>
			</c:forEach>
		</tbody>
		</table>
	</div>

	<input type="button" onclick="goBack()" class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only" value = "返回上级">
	<input type="button" onclick="goBack('${ctx }?menuId=index')" class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only" value = "返回首页">
    
</div>
</div>
</div>

<div class="row"> 
           
<div class="am-u-md-6 am-u-sm-12 row-mb">
	<div class="tpl-portlet">
        <div class="tpl-portlet-title">
            <div class="tpl-caption font-green">
                <span>工作月报</span>
                <span class="caption-helper">${fn:length(workReportList)} 件</span>
            </div>
            <div class="tpl-portlet-input">
                    <div class="input-icon right"><A href="yblist.html">更多</A></div>
            </div>
        </div>
        <div id="wrapper" class="wrapper"> 
            <div id="scroller" class="scroller"> 
                <ul class="tpl-task-list">  
                    <!-- <li>
                        <div class="task-title">
                            <a href="ybview.html"><span class="task-title-sp"> 济南市林业局3月份月报</span></a>
                            <span class="label label-sm label-success">经办人</span>
                        </div>
                    </li> -->
                    <c:forEach items="${workReportList}" var="workReport">
						<li>
                            <div class="task-title">
                                <a href="${ctx }/gt/gtWorkReport/form?id=${workReport.id }&oper=view&menuId=report"><span class="task-title-sp"> ${workReport.name}</span></a>
                            <span class="label label-sm label-success">${workReport.createBy.name}</span>
                         </div>
                     </li>
                    </c:forEach>
                   
                </ul>
            </div>
        </div>
	</div>
</div>

           <div class="am-u-md-6 am-u-sm-12 row-mb">
               <div class="tpl-portlet">
                   <div class="tpl-portlet-title">
                       <div class="tpl-caption font-green ">
                           <span>信息宣传</span>
                       </div>
		<div class="tpl-portlet-input">
                               <div class="input-icon right"><A href="xclist.html">更多</A></div>
                       </div>
                   </div>

                   <div class="am-tabs tpl-index-tabs" data-am-tabs>

                       <div class="am-tabs-bd">
                           <div class="am-tab-panel am-fade am-in am-active">
                               <div id="wrapperB" class="wrapper">
                                   <div id="scroller" class="scroller">
                                       <ul class="tpl-task-list tpl-task-remind">
                                           <c:forEach items="${infoList }" var="infoDeliver">
												<li>
													<div class="cosB" style="width: auto;">
														<fmt:formatDate value="${infoDeliver.deliverTime }" pattern="yyyy-MM-dd HH:mm:ss"/>
													</div>
                                                    <div class="cosA">
                                                        <span class="cosIco"> <i class="am-icon-bell-o"></i>  </span>
                                                        <span> <A href="${ctx }/gt/gtInfoDeliver/form?id=${infoDeliver.id }&oper=view&menuId=deliver">${infoDeliver.name }</A>
                                                        	<c:if test="${not empty infoDeliver.filePath }">
	                                                        	<a target="_blank" href="${infoDeliver.filePath }">
			                                                        <span class="tpl-label-info"> 提取文件
			                                                            <i class="am-icon-share"></i>
			                                                        </span>
		                                                        </a>
	                                                        </c:if>
                                                        </span>
                                                    </div>
                                                </li>
                                                </c:forEach>
                                       </ul>
                                   </div>
                               </div>
                           </div>
                         

                       </div>
                   </div>

                       </div>
                   </div>

               </div>
           </div>
       </div> 


</div> 

    <script src="${ctxStatic}/sdlyfp/js/jquery.min.js"></script>
    <script src="${ctxStatic}/sdlyfp/js/amazeui.min.js"></script>
    <script src="${ctxStatic}/sdlyfp/js/iscroll.js"></script>
    <script src="${ctxStatic}/sdlyfp/js/app.js"></script>
	<script>
	
	/* $(".hdm").click(function(){
        var menu_li = $('.hdm');
        $(this).addClass("am-btn-warning").siblings().removeClass("am-btn-warning");
        var index = menu_li.index(this);   
        $('.content').hide().eq(index).toggle(); 
        return false;
   }) */
   
   $(".hdm").click(function(){
	   var menu_li = $('.hdm');
	   if($(this).hasClass("am-btn-warning")){
	   $(".hdm").removeClass("am-btn-warning");
	   $('.content').hide();
	   return false;	
	   } else{
	   	$(".hdm").removeClass("am-btn-warning");
	            $(this).addClass("am-btn-warning");
	            var index = menu_li.index(this);   
	            $('.content').hide().eq(index).toggle(); 
	   		
	            return false;	
	   		 }
	   	})
   
	$(function(){
		// $(".tpl-left-nav-menu").find("li a").eq(0).addClass("active");
		
	var menuId = '${menuId }';
	if(menuId)
	{
		$(".tpl-left-nav-menu").find("#"+menuId).addClass("active");
	}
		
	})
	
	var message = "${message}";
	if(message)
	{
		var messageType = "${messageType}";
		msg(message,3000,messageType);
	}
	
	</script>
</body>
</html>